package com.chixing.day03_oop;

public class CompanyTest {
    public static void main(String args){
        //实例化对象(创建对象)
        Company company1 = new Company();
//        company1.companyId = 9001;
//        company1.companyName = "中国华为";
//        company1.companyAddress = "苏州桑田岛";
//        company1.companyType = "民营企业";
//        company1.companyTelno = 13324122214L;
        company1.setCompanyId(9001);
        int companyId = company1.getCompanyId();
        company1.setCompanyName("中国华为");
        String companyName = company1.getCompanyName();
        company1.setCompanyAddress("苏州桑田岛");
        String companyAddress = company1.getCompanyAddress();
        company1.setCompanyType("民营企业");
        String companyType = company1.getCompanyTypes();
        company1.setCompanyTelno(13255644856L);
        long companyTelno = company1.getCompanyTelno();


        company1.publishJob();
        company1.getResume();

        //实例化对象
        Company company2 = new Company();
//        company2.companyId = 9002;
//        company2.companyName = "小米";
//        company2.companyAddress = "北京";
//        company2.companyType = "民企";
//        company2.companyTelno = 13563351284L;

        company2.publishJob();
        company2.getResume();



        Job job1 = new Job();
        job1.jobId = 101;
        job1.jobName = "前端开发工程师";
        job1.jobMinSalary = 3000;
        job1.jobMaxSalary = 5000;
        job1.jobEducation = "专科";
        job1.jobCity = "苏州";
        job1.company = company1;

    }
}
